<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<title>请登录</title>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <link href="css/bootstrap.css" rel="stylesheet" media="screen">
<script>
	function changeImageP(){
		var ele = document.getElementById('myimage')
		ele.src="./picture/p.jpg"
	}
	function changeImageU(){
		var ele = document.getElementById('myimage')
		ele.src="./picture/u.jpg"
	}
</script>
<body>
<br><br><br><br><br><br>

<form action="./login" method="get">
	
<div class = "container">
	<div class ="row">
		<br><br><br><div class = "col-xs-6"><img src="./picture/backimage.jpg"  class="img-rounded" required></div>
		<div class = "col-xs-6"><br><br>
			<image id="myimage" src="./picture/u.jpg"   class="img-rounded img-responsive center-block" required>	<br><br>
			
			<input type="text" name="id" class="form-control" onfocus="changeImageU()" placeholder="UserNmae" required><br>
			
			<input type="password" name="pwd" onfocus="changeImageP()" class="form-control" placeholder="PassWord" required><br>
			
			<img src="./code"  id="checkCode" class="img-thumbnail" onclick="this.src=this.src+'?'">&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:checkCode.onclick()">不会......看不清吧？</a><br><br>
			
			<input type="text" class="form-control" onfocus="changeImageU()" name="code" placeholder="Code"><br>
			
			<input  class="btn btn-primary" type="submit"  value="教师登录"  >
			<a href = "./enroll.jsp">教师注册</a><br>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="./repwd">忘记密码？</a>
		</div>
	</div>
</div>

	
</form>	
</body>

</html>